package com.ruoyi.drone_certification.domain;

import com.ruoyi.manipulator_certification.domain.ManipulatorCertification;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 无人机认证对象 drone_certification
 * 
 * @author ruoyi
 * @date 2025-05-20
 */
public class DroneCertification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 飞手 id */
    @Excel(name = "飞手 id")
    private Long manipulatorId;

    /** 无人机名称 */
    @Excel(name = "无人机名称")
    private String droneName;

    /** 无人机类型 */
    @Excel(name = "无人机类型")
    private String type;

    /** 无人机生产商 */
    @Excel(name = "无人机生产商")
    private String manufacture;

    /** 无人机型号 */
    @Excel(name = "无人机型号")
    private String model;

    /** 空机重量（kg 为基准） */
    @Excel(name = "空机重量", readConverterExp = "k=g,为=基准")
    private Long weight;

    /** 最大起飞重量 */
    @Excel(name = "最大起飞重量")
    private Long maxFlyWeight;

    /** 产品序列号 / 出厂序号 */
    @Excel(name = "产品序列号 / 出厂序号")
    private String uid;

    /** 唯一产品标识码 */
    @Excel(name = "唯一产品标识码")
    private String identificationCode;

    /** 产品用途 */
    @Excel(name = "产品用途")
    private String purposes;

    /** 产品类别 */
    @Excel(name = "产品类别")
    private String category;

    private ManipulatorCertification manipulatorCertification;


    public ManipulatorCertification getManipulatorCertification() {
        return manipulatorCertification;
    }

    public void setManipulatorCertification(ManipulatorCertification manipulatorCertification) {
        this.manipulatorCertification = manipulatorCertification;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setManipulatorId(Long manipulatorId) 
    {
        this.manipulatorId = manipulatorId;
    }

    public Long getManipulatorId() 
    {
        return manipulatorId;
    }

    public void setName(String name) 
    {
        this.droneName = name;
    }

    public String getName() 
    {
        return droneName;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setManufacture(String manufacture) 
    {
        this.manufacture = manufacture;
    }

    public String getManufacture() 
    {
        return manufacture;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }

    public void setMaxFlyWeight(Long maxFlyWeight) 
    {
        this.maxFlyWeight = maxFlyWeight;
    }

    public Long getMaxFlyWeight() 
    {
        return maxFlyWeight;
    }

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }

    public void setIdentificationCode(String identificationCode) 
    {
        this.identificationCode = identificationCode;
    }

    public String getIdentificationCode() 
    {
        return identificationCode;
    }

    public void setPurposes(String purposes) 
    {
        this.purposes = purposes;
    }

    public String getPurposes() 
    {
        return purposes;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public String getDroneName() {
        return droneName;
    }

    public void setDroneName(String droneName) {
        this.droneName = droneName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("manipulatorId", getManipulatorId())
            .append("name", getName())
            .append("type", getType())
            .append("manufacture", getManufacture())
            .append("model", getModel())
            .append("weight", getWeight())
            .append("maxFlyWeight", getMaxFlyWeight())
            .append("uid", getUid())
            .append("identificationCode", getIdentificationCode())
            .append("purposes", getPurposes())
            .append("category", getCategory())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime()).append("manipulatorCertification",getManipulatorCertification())
            .toString();
    }
}
